package com.whcoding.test.example.generic;

/**
 * https://segmentfault.com/a/1190000039835272
 * <p>
 * 泛型类
 *
 * @param <K, V>
 */
public class GenericClass2<K, V> {
    private K k;
    private V v;

    public GenericClass2() {


    }

    public GenericClass2(K ka, V va) {
        k = ka;
        v = va;
    }

    private String get() {
        return k.toString() + v.toString();
    }
}


